package com.kitty.game.house.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

/**
 * 购买居所
 *
 */
@MessageMeta(module = Modules.CMD_BUY_HOUSE)
public class ReqBuyHouse extends Message {

    private String action;      //购买buy 升级upgrade 改造modify
    private String houseName;   //居所名称
    private byte bedroomLevel;  //卧室等级
    private byte storeLevel;    //储藏室等级
    private byte lianqsLevel;   //炼器室等级
    private byte xiuliansLevel; //修炼室等级

    @Override
    public String toString() {
        return "ReqBuyHouse{" +
                "action='" + action + '\'' +
                ", houseName='" + houseName + '\'' +
                ", bedroomLevel=" + bedroomLevel +
                ", storeLevel=" + storeLevel +
                ", lianqsLevel=" + lianqsLevel +
                ", xiuliansLevel=" + xiuliansLevel +
                '}';
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public byte getBedroomLevel() {
        return bedroomLevel;
    }

    public void setBedroomLevel(byte bedroomLevel) {
        this.bedroomLevel = bedroomLevel;
    }

    public byte getStoreLevel() {
        return storeLevel;
    }

    public void setStoreLevel(byte storeLevel) {
        this.storeLevel = storeLevel;
    }

    public byte getLianqsLevel() {
        return lianqsLevel;
    }

    public void setLianqsLevel(byte lianqsLevel) {
        this.lianqsLevel = lianqsLevel;
    }

    public byte getXiuliansLevel() {
        return xiuliansLevel;
    }

    public void setXiuliansLevel(byte xiuliansLevel) {
        this.xiuliansLevel = xiuliansLevel;
    }
}
